//
//  GHPTableCell.m
//  WANNA
//
//  Created by lanou3g on 16/5/5.
//  Copyright © 2016年 浮夸. All rights reserved.
//

#import "GHPTableCell.h"
#import "UIImageView+WebCache.h"
#import "ImageDownloader.h"

@interface GHPTableCell ()

@property (weak, nonatomic) IBOutlet UIImageView *listImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *PubTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *summaryLabel;




@end

@implementation GHPTableCell

-(void)layoutSubviews{
    
    self.titleLabel.text= self.model.title;
    self.summaryLabel.text = self.model.summary;
    [self.listImageView dt_setImageWithUrl:[NSURL URLWithString:self.model.image]];
    
}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
